/*
 * Script of Site
 * Copyright 2023 Hyic.com
 */

:root {
    --bs-primary: #9b0d14;
    --bs-primary-rgb: 155,13,20;
    --bs-warning: #eb6100;
    --bs-warning-rgb: 235,97,0;
    --bs-link-color-rgb: 51,51,51;
    --bs-link-hover-color-rgb: 155,13,20;
    --swiper-pagination-color: #eb6100;
    --swiper-pagination-bullet-width: 20px;
    --swiper-pagination-bullet-height: 6px;
    --swiper-pagination-bullet-horizontal-gap: 1px;
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: #bc252d;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #bc252d;
    --bs-btn-hover-border-color: #bc252d;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #bc252d;
    --bs-btn-active-border-color: #bc252d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #b35d61;
    --bs-btn-disabled-border-color: #b35d61;
}
.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #bc252d;
    --bs-btn-hover-border-color: #bc252d;
    --bs-btn-active-bg: #bc252d;
    --bs-btn-active-border-color: #bc252d;
    --bs-btn-disabled-color: #b35d61;
    --bs-btn-disabled-border-color: #b35d61;
}

.pagination {
    --bs-pagination-active-bg: var(--bs-link-color);
    --bs-pagination-active-border-color: var(--bs-link-color);
}

html { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100%; }
a { display: inline-block; text-decoration: none; cursor: pointer; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family:"微软雅黑", "黑体", sans-serif; }

summary h1, summary h2, summary h3, summary h4, summary h5, summary h6 { display: inline-block; }
.pb-6 { padding-bottom: 6rem; }
.ratio-3x1 { --bs-aspect-ratio: 33.3333333333%; }
.ratio-4x1 { --bs-aspect-ratio: 25%; }
.ratio-5x2 { --bs-aspect-ratio: 40%; }
.link-light:hover { color: var(--bs-primary)!important; }
.ratio-4x5 { --bs-aspect-ratio: 125%; }
.swiper-pagination-bullet { border-radius: 0; }

.welcome_container { width: 80%; top:40%; }

.float_navbar { z-index: 100; top: 12rem; }
.float_navbar .nav-link { display: block; margin-top: 1px; padding: 0.625rem; color:#dedede; background-color: rgba(0, 0, 0, .5); }
.float_navbar .nav-link:hover { color: #fff; background-color: var(--bs-primary); }

.layout_header, .layout_bodyer, .layout_footer { width: 100%; }
.header_toolbar .navbar { --bs-navbar-padding-y: 0; }
.header_toolbar .nav-link { font-size: .875rem; }
.header_navbar img { height: 2.5rem; }
.header_navbar .navbar-collapse { border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color); }
.header_navbar .navbar-nav { flex-direction: row; flex-wrap: wrap; }
.header_navbar .nav-link { --bs-navbar-nav-link-padding-x: 3px; font-family:"微软雅黑", "黑体", sans-serif; width: 50%; border-top: 1px solid var(--bs-border-color); }
.header_navbar .nav-link:hover { color: var(--bs-primary); }

.layout_bodyer { background: url(../image/bg.png) no-repeat bottom center; background-size: 100%; }
.layout_bodyer img { max-width: 100%; }

.layout_footer { font-size: 0.875rem; line-height: 1.5rem; }
.footer_logo { width: 100%; height: 3rem; background: url(../image/logo_footer.png) no-repeat top left; background-size: contain; }
.footer_title { width: 100%; height: 3rem; display: flex; align-items: end; color: var(--bs-tertiary-color); }
.footer_inset { pointer-events: none; position: absolute; top: 1rem; bottom: 0; left: 0; right: 2rem; background: url("../image/bg_pigeon.png") no-repeat right top; background-size: contain; opacity: 0.03; }
.footer_qrcode img { width: 6.25rem;}

.info_desc { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

.list-calendar { margin-bottom: 0; padding: 3px 0; position: relative; border: 2px solid var(--bs-primary); border-radius: 5px; text-align: center; }
.list-calendar::before, .list-calendar::after { content: "";  position: absolute; top: -7px; width: 5px; height: 11px; background: var(--bs-primary); }
.list-calendar::before { left: 13px; }
.list-calendar::after { right: 13px; }
.list-calendar dt { font-size: 2rem; line-height: 2.5rem; font-weight: bold; color: var(--bs-primary); }
.list-calendar dd { margin-bottom: 0; font-size: .75rem; list-style: 1rem; color: var(--bs-secondary-color); }

.list_image_date { position: relative; }
.list_image_date a { display: block; overflow: hidden;  }
.list_image_date a img { scale: 1; transition: scale 1s ease; }
.list_image_date a:hover img { scale: 1.2; }
.list_image_date figcaption { position: absolute; right: .6125rem; bottom: -0.5rem; padding: .25rem .5rem; color: #fff; background-color: var(--bs-primary); }

.home_announcement .list-calendar { width: 4rem; }
.home_public ul  { padding-left: 1rem; }
.home_public li { display: flex; flex-direction: column; margin-top: .8125rem; position: relative; }
.home_public li::before { content: ""; position: absolute; left: -1rem; top: 10px; width: 5px; height: 5px; background-color: var(--bs-primary); }
.home_public li a { flex-grow: 1; }
.home_public li small { flex-shrink: 0; width: 7.5rem; }
.home_special a:hover img { box-shadow: var(--bs-box-shadow); }

.booth_outline { display: none; }
.booth_image { margin-bottom: calc(var(--bs-gutter-x) * .5); }

.column_menu { margin-bottom: 1rem; border-bottom: 2px solid var(--bs-primary); }
.column_menu ul { padding-left: 0; list-style: none; }
.column_menu li { padding-right: .5rem; }

.list_caption .nav-link {
    color: var(--bs-nav-underline-link-active-color);
    font-size: 1.25rem;
}
.list_caption .nav-link.active {
    color: var(--bs-primary);
}

.list_item { flex-direction: column; margin-bottom: 1rem; border: 1px solid var(--bs-border-color); }
.list_item a { display: block; font-size: 1.25rem; }
.list_item small { display: block; margin-top: .5rem; color: var(--bs-secondary-color); }
.list_item_image { width: 12rem; margin-bottom: 1rem; }

.show_container details { margin-bottom: 1rem; }
.show_container .figure img { margin-bottom: .5rem; line-height: 1; border-radius: var(--bs-border-radius); }

.v_news_content p { text-indent: 2em; }
.v_news_content li p { text-indent: initial; }

.link_book { cursor: pointer; }
.link_book:hover img { box-shadow: var(--bs-box-shadow); }


.timeline-container {
    position: relative;
    margin-left: 6px;
    padding: 2rem 0;
    border-left: 4px solid var(--bs-primary);
}
.timeline-container::before, .timeline-container::after {
    content: "";
    display: block;
    position: absolute;
    left: -10px;
    width: 1rem;
    height: 4px;
    background: var(--bs-primary);
}
.timeline-container::before {
    top: 0;
}
.timeline-container::after {
    bottom: 0;
}
.timeline-time, .timeline-event, .timeline-content {
    position: relative;
    padding-left: 2rem;
}
.timeline-time::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    background: var(--bs-primary);
    top: calc(1rem - 1px);
    height: 2px;
    width: 1rem;
}
.timeline-time.big::before {
    top: calc(1.75rem - 2px);
    height: 4px;
    width: 2rem;
}

.timeline-time h2 {
    display: inline-block;
    padding: .5rem .75rem;
    line-height: 2.5rem;
    color: white;
    background: var(--bs-primary);
    border-radius: .25rem;
}
.timeline-time h5 {
    line-height: 2rem;
    color: var(--bs-primary);
}

.progress_line {
    width: 0;
    height: 1px;
    background: var(--bs-light);
    transition-property: width;
    transition-timing-function: ease-out;
    -webkit-transition-property: width;
    -webkit-transition-timing-function: ease-out;
}
.transition_3s {
    transition-duration: 3s;
    -webkit-transition-duration: 3s;

}
.transition_5s {
    transition-duration: 5s;
    -webkit-transition-duration: 5s;
}

.slide-bg {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -50%;
    right: -50%;
    background-image: linear-gradient(120deg, var(--bs-primary) 50%, var(--bs-warning) 50%);
    animation: slide-bg-frames 3s ease-in-out infinite alternate;
    opacity: .5;
}
.slide-bg-animation {
    animation-duration: 5s;
}  
.slide-bg-animation-reverse {
    animation-direction: alternate-reverse;
    animation-duration: 4s;
}

@keyframes slide-bg-frames {
    0% { transform:translateX(-25%); }
    100% { transform:translateX(25%); }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .welcome_container { width: 70%; }

    .home_public li { flex-direction: row; }
    .home_public li small { text-align: right; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .welcome_container { width: 60%; top:50%; }

    .header_navbar .navbar-nav { flex-wrap: nowrap; align-items: center; text-align: center; }
    .header_navbar .navbar-collapse { border-bottom: none; }
    .header_navbar .nav-link { width: auto; border-top: none;}

    .home_public li { flex-direction: column; }
    .home_public li a { flex-grow: auto; }
    .home_public li small { flex-shrink: auto; width: auto; text-align: left; }

    .booth_image { margin-bottom: 0; height: 100%; outline: 5px solid var(--bs-primary); outline-offset: .5rem; }
    
    .column_menu li { padding-right: 1rem; }

    .list_item { flex-direction: row; }
    .list_item_image { margin-bottom: 0; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .welcome_container { width: 50%; }

    .header_navbar .nav-link { font-size: 1.25rem; }
    .header_navbar .nav-link img { height: 5rem; }

    .list_caption .nav-link {
        font-size: 1.5rem;
    }
    
    .booth_text { margin-right: 5rem; }
    .booth_outline, .booth_image { width: calc(100% + 3rem); height: calc(100% + 3rem); }
    .booth_outline { display: block; position: absolute; z-index: 6; top: -2rem; left:-4rem; border: 5px solid var(--bs-primary); pointer-events: none; }
    .booth_image { outline: none; position: absolute; z-index: 5; top: -1rem; left:-3rem; transition: top 1s ease, left 1s ease; }
    .booth_image:hover { top: -2rem; left: -4rem; }    

    .column_menu { border-bottom: none; }
    .column_menu ul { margin-top: 1rem; border-top: 3px solid var(--bs-primary);  }
    .column_menu li { padding: .75rem 0; border-bottom: 1px solid var(--bs-border-color); }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    
}